{include file="header.html"}

<script type="text/javascript">
//<!CDATA[
$(function(){
  
    
    $("#search").click(function(){
    	$("#act").val("index");

    	$("#form1").submit();
    });
});
//]]>
</script>

<div id="rightTop">
	<p>引入货单管理</p>
	<ul class="subnav">
		<li><span>{$lang.manage}</span>
		</li>
	</ul>
</div>
<div class="mrightTop">
	<div class="fontl">
		<form method="get">
			<div class="left">
		
                    <input type="hidden" name="app" value="importnormal" />
                <input type="hidden" name="act" value="index" />
             	 	货单编码:
	                <input class="queryInput" type="text" name="g_code" value="{$smarty.get.g_code}" />
	                品名:
	                <input class="queryInput" type="text" name="g_name" value="{$smarty.get.g_name}" />
	                货主:
	                <input class="queryInput" type="text" name="g_owner" value="{$smarty.get.g_owner}" />
					
                <input type="submit" class="formbtn" value="{$lang.query}" />
          
			</div>
		</form>
	</div>
	<div class="fontr">{include file=page.top.html}</div>
	<div class="clear:both;"></div>
</div>
<div class="tdare">
<form method="post" enctype="multipart/form-data" id="acategory_form">
	<table width="100%" cellspacing="0" class="dataTable">
		<!--{if $auth}-->
		<tr class="tatr1">
			<td width="20" class="firstCell"><input type="checkbox"
				class="checkall" />
			</td>
		
		<td>货单编码</td>
			<td align="left">品名</td>
			<td>货主</td>
			<td>货主电话</td>
			
			<td>件 剩余</td>
			<td>重 剩余</td>
			<td>尺 剩余</td>
			<td>件 运输</td>
			<td>件 运输</td>
			<td>件 运输</td>
		</tr>
		<!--{/if}-->
		<!--{foreach from=$auth item=w}-->
		<tr class="tatr2">
		    <td class="firstCell"> <input type="checkbox" class="checkitem" value="{$w.g_tid}"/></td>
		
			<td>{$w.g_code}</td>
			<td>{$w.g_name|escape}</td>
			<td>{$w.g_owner}</td>
			<td>{$w.g_owner_tel}</td>
			
			<td>{$w.g_piece_residue}</td>
			<td>{$w.g_weight_residue}</td>
			<td>{$w.g_size_residue}</td>
			<td><input type="text" name="pnum[{$w.g_tid}]"  value="1"   class="infoTableInput" id="g_piece_se" ></td>
			<td><input type="text" name="wnum[{$w.g_tid}]" value="1"  class="infoTableInput" id="g_weight_se" ></td>
			<td><input type="text" name="snum[{$w.g_tid}]"  value="1"  class="infoTableInput" id="g_size_se" ></td>
			
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data">
			<td colspan="7">{$lang.no_data}</td>
		</tr>
		<!--{/foreach}-->
	</table>
	<!--{if $auth}-->
	
	<div id="dataFuncs">
		<div class="pageLinks">{include file=page.bottom.html}</div>
		<div id="batchAction" class="left paddingT15" style="padding-top: 10px;padding-left: 10px;">
			<input class="formbtn" type="submit" presubmit="confirm('确认引入这些货单吗?');"
					name="id" value="确认引入" />
		</div>
		<div class="clear:both;"></div>
	</div>
	<div class="clear"></div>
	
	<!--{/if}-->
	</form>
</div>
{include file="footer.html"}